<template>
<div>生命周期函数</div>
</template>
<script> 
   import { defineComponent } from 'vue'
   export default defineComponent({

    beforeCreate() {
        console.log('beforeCreate')
    },
    created() {
        console.log('created')
    },

     beforeMount() {
        console.log('beforeMount')
    },
    mounted() {
        console.log('mounted')
    },

    setup() {
        console.log('setup');
      return {}
    },

   })
  
</script>
<style scoped lang='less'>
</style>